package top.continew.admin.generator.model.query;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import top.continew.starter.data.core.annotation.Query;
import top.continew.starter.data.core.enums.QueryType;
import java.io.Serial;
import java.io.Serializable;
import java.time.*;

/**
 * 省区信息查询条件
 *
 * @author jiangjun
 * @since 2025/06/24 10:40
 */
@Data
@Schema(description = "省区信息查询条件")
public class ProvinceDivisionsQuery implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 区域编码
     */
    @Schema(description = "区域编码")
    @Query(type = QueryType.LIKE)
    private String code;

    /**
     * 区域名称
     */
    @Schema(description = "区域名称")
    @Query(type = QueryType.LIKE_RIGHT)
    private String name;

    /**
     * 类型
     */
    @Schema(description = "类型")
    @Query(type = QueryType.EQ)
    private String type;
}